package com.lagou.homework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * zookeeper相关
 */
@Component
@ConfigurationProperties(prefix = "dynamic.zookeeper")
@Data
public class ZookeeperProperties {

    /** zookeeper 节点信息 */
    private String connectString;

    /** 用户名 */
    private String dataSourceRoot;
}
